package jumpingnotes.storage;

public class UnsupportedStorageObject extends Exception {
	private int invalidType;
	
	public UnsupportedStorageObject(int invalidType) {
		super();
		this.invalidType = invalidType;
	}

	public UnsupportedStorageObject(int invalidType, String message, Throwable cause) {
		super(message, cause);
		this.invalidType = invalidType;
	}

	public UnsupportedStorageObject(int invalidType, String message) {
		super(message);
		this.invalidType = invalidType;
	}

	public UnsupportedStorageObject(int invalidType, Throwable cause) {
		super(cause);
		this.invalidType = invalidType;
	}

	public int getInvalidType() {
		return invalidType;
	}

	public void setInvalidType(int invalidType) {
		this.invalidType = invalidType;
	}

}
